TmDrawnButton

Section: C Library Functions (3)
Updated: 24 July 1993
Index Return to Main Contents
 

NAME

TmDrawnButton - the DrawnButton widget class  

SYNOPSIS

xmDrawnButton  pathName [options]
 

DESCRIPTION

This is the tcl binding to the Motif DrawnButton widget.  

CLASSES

The class name for resource files is XmDrawnButton. Resources are inherited from TmPrimitive, TmCore. Methods are inherited from TmCore.  

RESOURCES

The new resources are
multiClick
pushButtonEnabled
shadowType

 

METHODS

New methods for this class are

activateCallback
armCallback
disarmCallback
exposeCallback
resizeCallback
drawImageString

drawImageString gc x y string
This draws the string in the widget at the x, y coordinates using the graphics context gc, which will have been obtained by a "getGC" method.

 

CALLBACK SUBSTITUTIONS

The substitutions supported for this class are
%reason  - the additional values are
activate
arm
disarm
expose
resize

%click_count - the number of times the button was clicked

 

BUGS

None known as yet.  

AUTHOR

Jan Newmarch, University of Canberra


 

Index

NAME
SYNOPSIS
DESCRIPTION
CLASSES
RESOURCES
METHODS
CALLBACK SUBSTITUTIONS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 20:43:53 GMT, June 11, 2022